//
//  CPSCTextLoopView.h
//  CollTest
//
//  Created by codew on 9/11/21.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^CPSCTextLoopViewSelectBlock)(NSString *selectString, NSInteger index);

@interface CPSCTextLoopView : UIView

@property (nonatomic, assign) NSTimeInterval interval;
@property (nonatomic, assign) CGFloat rowHeight;

- (void)updateViewWithDataSource:(NSArray <NSString *>*)dataSource;

@end

NS_ASSUME_NONNULL_END
